//
//  FeedBackViewController.m
//  Meng
//
//  Created by dllo on 15/10/6.
//  Copyright (c) 2015年 ljw. All rights reserved.
//

#import "FeedBackViewController.h"

@interface FeedBackViewController ()

@end

@implementation FeedBackViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.view.backgroundColor = [UIColor whiteColor];
    
    
    UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, W, H / 10)];
    [view setBackgroundColor:[UIColor colorWithPatternImage:[UIImage imageNamed:@"top.png"]]];
    [self.view addSubview:view];
    
    
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, W / 12, W, W / 20)];
    label.text = @"关于我们";
    label.textAlignment = 1;
    label.font = [UIFont systemFontOfSize:18];
    [self.view addSubview:label];
    
    
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.frame = CGRectMake(W / 70, W / 40, W / 20 * 3, W / 20 * 3);
    [button setImage:[UIImage imageNamed:@"return.png"] forState:UIControlStateNormal];
    [button addTarget:self action:@selector(button:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:button];
    
    
    UIImageView *image = [[UIImageView alloc] initWithFrame:CGRectMake(0, H / 10, W, H)];
    image.image = [UIImage imageNamed:@"about"];
    [self.view addSubview:image];

}
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
{
    return NO;
}
- (void)button:(UIButton *)button
{
    [self dismissViewControllerAnimated:YES completion:^{
        
    }];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
